import requests

url = "https://item.jd.com/100000177758.html"

try:
    r = requests.get(url)
    r.raise_for_status()
    r.encoding = r.apparent_encoding

except:
    print(r.text[:1000])
